﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<BizCollegeWebApp.Models.CourseCompletionTest>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    TakeTest
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        TakeTest</h2>
    <%--<p>
        <%: Html.ActionLink("Create New", "Create") %>
    </p>--%>
    <table border="0">
    
      <% int qcount = 1;
           foreach (var item in Model)
           { %>
        <tr>
            <td valign="1">
                <%: qcount %>
            </td>
            <td>
                <%: item.Question %>
              <p>

                <%: Html.RadioButton("Option", item.Option1) %>
                    <%: item.Option1 %></p>
                <p>
                    <%: Html.RadioButton("Option", item.Option2) %>
                    <%: item.Option2 %></p>
                <p>
                    <%: Html.RadioButton("Option", item.Option3) %>
                    <%: item.Option3 %></p>
                <p>
                    <%: Html.RadioButton("Option", item.Option4) %>
                    <%: item.Option4 %></p>
            </td>
        </tr>
        <% qcount++;
   } %>
    </table>

   <input type="submit" value=" Submit " />
</asp:Content>
